package xin.marcher.module.inventory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xin.marcher.module.inventory.domain.entity.InventoryDeductionDetailDO;

import java.util.List;

/**
 * 库存明细记录
 */
@Mapper
public interface InventoryDetailMapper extends BaseMapper<InventoryDeductionDetailDO> {

    /**
     * 批量写入库存明细
     *
     * @param list
     */
    Integer insertBatch(@Param("list") List<InventoryDeductionDetailDO> list);
}
